import Vue from "vue";
import ElementUI from "element-ui";
import Element from "element-ui";
import App from "./App.vue";
import VueRouter from "vue-router";
import router from "./router";
import axios from "axios";
import VueAxios from "vue-axios";
import store from "./store";
import common from "./assets/methods/common";
import "element-ui/lib/theme-chalk/index.css";

Vue.config.productionTip = false;
Vue.use(VueRouter);
Vue.use(common);
Vue.use(VueAxios, axios);
Vue.use(ElementUI);
Vue.use(Element, { size: "small", zIndex: 3000 });

new Vue({
  render: (h) => h(App),
  router,
  store,
}).$mount("#app");
